package com.xxx.modules.service;

import com.xxx.modules.entity.User;
import com.xxx.modules.utils.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 北易航
 * @since 2020-12-29
 */
public interface IUserService extends IService<User> {

    User selectUser(User user);

    Integer insertAndUpdateUserInfo(User user);

    Integer deleteUserInfo(Integer id);

    PageResult selectAllUserInfo(User user, Integer pageNum, Integer pageSize);

    User getUserInfoById(Integer id);
}
